<?php 
class welcome extends CI_Controller {

	/**
	 * 资料分享版默认contoller
	 * add by laohyx
	 * 
	 */
	public function index()
	{
		$this->load->model('share/file');
		$rank= $this->file->get_rank(5);
		$newest = $this->file->get_newest(5);
		$data = array("rank"=>$rank,"newest"=>$newest);
		
		$data_header = array("title" => "资料分享 - 首页");
		$this->parser->parse("header",$data_header);
		$this->parser->parse("share/index.php",$data);
		$this->parser->parse("footer",$data_header);	
		
		
	}
	
}

/* End of file index.php */
/* Location: ./application/controllers/../index.php */